package cn.itcast.hotel.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;


@ConfigurationProperties(prefix ="es" )
@Data
public class EsProperties {
    private String host;
    private Integer port;
}
